package com.tbit.common.constant;

/**
 * @Author: chen
 * @Description: 交易记录交易类型常量
 * @Date: 创建于 10:53 2022/11/14
 */
public class TransationLogConstant {

    /**
     * 交易类型 1：押金充值、 2：押金退款、 3：余额充值、 4：余额退款、 5：充值结束订单、 6：欠款补交、 7：骑行退款、 8：购买骑行卡， 9：骑行卡退款， 10：购买免押卡，
     * 11：免押卡退款， 12：购买会员卡， 13：会员卡退款， 14：购买优惠券套餐， 15优惠券套餐退款
     */
    /**
     * 用户充押金
     */
    public static final Integer BUSINESS_USER_DEPOSIT = 1;
    /**
     * 用户退押金
     */
    public static final Integer BUSINESS_USER_REFUND_DEPOSIT = 2;
    /**
     * 余额充值
     */
    public static final Integer BUSINESS_USER_RECHARGE_BALANCE = 3;
    /**
     * 余额退款
     */
    public static final Integer BUSINESS_USER_REFUNDED_BALANCE = 4;
    /**
     * 充值结束订单
     */
    public static final Integer BUSINESS_BALANCE_CYCLING = 5;
    /**
     * 欠款补交
     */
    public static final Integer BUSINESS_REPAYMENT_OF_ARREARS = 6;
    /**
     * 骑行退款
     */
    public static final Integer BUSINESS_BIKE_REFUND = 7;
    /**
     * 购买骑行卡
     */
    public static final Integer BUSINESS_BUY_RIDECARD = 8;
    /**
     * 骑行卡退款
     */
    public static final Integer BUSINESS_REFUND_RIDECARD = 9;
    /**
     * 购买免押卡
     */
    public static final Integer BUSINESS_BUY_MEM = 10;
    /**
     * 免押卡退款
     */
    public static final Integer BUSINESS_REFUND_MEM = 11;
    /**
     * 购买会员卡
     */
    public static final Integer BUSINESS_BUY_VIP = 12;
    /**
     * 会员卡退款
     */
    public static final Integer BUSINESS_REFUND_VIP = 13;
    /**
     * 购买优惠券套餐
     */
    public static final Integer BUSINESS_BUY_MEAL = 14;
    /**
     * 优惠券套餐退款
     */
    public static final Integer BUSINESS_REFUND_MEAL = 15;

    /***********************************交易状态***********************************/
    /**
     * 成功
     */
    public static Integer TRANSACTION_STATE_SUCCESS = 1;
    /**
     * 失败
     */
    public static Integer TRANSACTION_STATE_FAILURE = 2;


}
